﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MShop.Web.Components.ValueProvider
{
    public class ProductValueProvider:System.Web.Mvc.NameValueCollectionValueProvider
    {
        public ProductValueProvider(ControllerContext controllerContext):base(controllerContext.HttpContext.Request.Form,System.Globalization.CultureInfo.CurrentCulture)
        {
            
        }
        public override bool ContainsPrefix(string prefix)
        {
            return base.ContainsPrefix(prefix);
        }

        public override ValueProviderResult GetValue(string key)
        { 
            var result= base.GetValue(key);
            return result;
        }
    }
}